<?php
/**
 * Auction:LoadJs.php
 * @author qqinxl
 * Tue Sep 25 09:26:35 GMT 2007
 * 
 * @category   Auction
 * @package  
 * @copyright  Copyright (c) qqinxl
 */
class ViewHelper_LoadJs {
	public function loadJs($_loadJsArray,$baseUrl){
		$html = '';
		foreach ($_loadJsArray as $_jsFile){
			$str ="<script language='javascript' src='".$baseUrl."/public/scripts/".$_jsFile."'></script>";
			$html.= $str;
		}
		return $html;
	}
}